<div ng-controller='IncomeCourse' class='right-cont'>
    <div class='title'>
        <i class='fa fa-list-ul'></i>
        课程售出{{test}}
    </div>

    <div class='box-cont'>
        <div>
            <div class='box-fr' style="margin-right: 10px;">
                <div class='input-group input-group-xs pull-right radius'>
                    <input type='text' class='form-control input-w-xs' ng-model='keyword'
                           placeholder='请输入课程名称或课程ID'>
                    <span class='input-group-btn'>
                        <button class='btn btn-success radius' ng-click='search_data()'>搜索</button>
                    </span>
                </div>
            </div>
        </div>
        <div class="member-index-tab">
            <ul id="myTab" class="nav nav-tabs" style="margin-bottom: 10px;">
                <li  class="member-index-tabs member-index-tabs-dean active" data-role=".member-index-tabs-dean" ng-click="change_load_data(1)">
                    <a href="" data-toggle="tab">
                        现金
                    </a>
                </li>
                <li  class="member-index-tabs member-index-tabs-expand" data-role=".member-index-tabs-expand"  ng-click="change_load_data(2)">
                    <a href="" data-toggle="tab">
                        积分
                    </a>
                </li>
                <li class="member-index-tabs member-index-tabs-all" data-role=".member-index-tabs-all"  ng-click="change_load_data(0)">
                    <a href="" data-toggle="tab">
                        全部
                    </a>
                </li>
            </ul>
        </div>
        <table class='table table-list wrap-checkbox'>
            <tr class="abcd">
                <td class="member-th-sort" ng-click="toggle(1)">课程ID<i ng-if="sortName == 1"
                                                                       class="fa fa-sort-{{sortIcon}}"></i></td>
                <td>课程名称</td>
                <td>课程价格</td>
                <td class="member-th-sort" ng-click="toggle(2)">售出数量<i ng-if="sortName == 2"
                                                                       class="fa fa-sort-{{sortIcon}}"></i></td>
                <td class="member-th-sort" ng-click="toggle(3)">售出价格<i ng-if="sortName == 3"
                                                                       class="fa fa-sort-{{sortIcon}}"></i></td>
                <td>状态</td>
            </tr>
            <tr ng-repeat='course in courseList'>
                <td >{{course.id}}</td>
                <td >{{course.name}}</td>
                <td class="members-index-userName">{{course.price}}</td>
                <td><span class="score-index-num">{{course.buy_count}}</span></td>
                <td><span class="score-index-num">{{course.price}}</span></td>
                <td>{{course.status_txt}}</td>
            </tr>
        </table>

        <div class='box-page' ng-bind-html='pages'></div>

        <!--图标测试-->
        <!--<div id="main" style="width: 600px;height:400px;"></div>-->

    </div>

</div>